flexiciousNmsp.CsvExporter Class
Exports the grid in CSV format
Constructor
flexiciousNmsp.CsvExporter
()
Item Index
Methods
buildHeader
(
String
-
grid
Parameters:
-
grid
Object
Returns:
String:
escapeCsv
(
String | XML
-
val
Parameters:
-
val
Object
Returns:
String | XML:
getContentType
()
String
Returns the content type so MS Excel launches when the exporter is run.
Returns:
String:
getExtension
()
String
Extension of the download file.
Returns:
String:
getName
()
String
Name of the exporter
Returns:
String:
writeHeader
(
String
-
grid
Writes the header of the grid (columns) in csv format
Parameters:
-
grid
Object
Returns:
String:
writeRecord
(
String
-
grid
-
record
Writes an individual record in csv format
Parameters:
-
grid
Object -
record
Object
Returns:
String: